package top.youjizi.middleware.dynamic.thread.pool.sdk.registry;

import top.youjizi.middleware.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;

import java.util.List;

/**
 * @description:
 * @author: libai
 * @date: 2024/5/17
 */
public interface IRegistry {
    
    /**
     * @description: 线程池配置上报
     * @param: threadPoolEntities 线程池配置
     * @return: void
     */
    void reportThreadPool(List<ThreadPoolConfigEntity> threadPoolEntities);
    
    
    /**
     * @description: 线程池配置参数上报
     * @param: threadPoolConfigEntity 线程池配置参数
     * @return: void
     */
    void reportThreadPoolConfigParameter(ThreadPoolConfigEntity threadPoolConfigEntity);
    
}
